package cn.com.surker.production.entity;

import cn.com.surker.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 生产发货单审核记录表
 * </p>
 *
 * @author admin
 * @since 2025-02-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("production_invoice_examine")
public class InvoiceExamine extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 标识
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	/**
	 * 公司ID
	 */
	private Long orgId;

	/**
	 * 发货单ID
	 */
	private Long invoiceId;

	/**
	 * 审核类型
	 */
	private Integer examineType;

	/**
	 * 签收方量
	 */
	private Double signStere;

	/**
	 * 销售泵送方量
	 */
	private Double salePumpStere;

	/**
	 * 生产泵送方量
	 */
	private Double proPumpStere;

	/**
	 * 生产运输方量
	 */
	private Double proSendStere;

	/**
	 * 运距
	 */
	private Double distance;

	/**
	 * 转料运距
	 */
	private Double tranDistance;

	/**
	 * 20250403新增,退砼施工方审核改为由生产审核操作
	 * 施工方退料方量
	 */
	private Double buildReStere;

	/**
	 * 审核状态
	 */
	private Integer examineStatus;

	/**
	 * 审核人员
	 */
	private Long examiner;

	/**
	 * 审核人员名
	 */
	private String examineName;

	/**
	 * 作废原因
	 */
	private String scrapRemark;

	/**
	 * 浇筑方式
	 * 2025-05-15新增
	 */
	private Long castModeId;

	/**
	 * 泵送设备
	 * 2025-05-15新增
	 */
	private Long pumpDeviceId;

}
